load(
    "@nazel//:nazel_build.bzl",
    "nazel_cc_library",
    "nazel_cc_binary",
)

package(default_visibility = ["//visibility:public"])

nazel_cc_library(
    name = "influxdb",
    hdrs = [
        "influxdb_client.h",
        "influxdb_builder.h",
    ],
    srcs = [
        "influxdb_client.cc",
        "influxdb_builder.cc",
    ],
    deps = [
        "//cc/coin2/base:base",
        "//cc/coin2/base/request:request",
    ],
)

nazel_cc_binary(
    name = "influxdb_test",
    srcs = ["influxdb_client_test.cc"],
    deps = [
        ":influxdb",
    ],
)